import { request } from '@/utils/request'

// 获取留言
export const getComment = async (data) => {
  const res = await request.post('/comments/getComment', data)
  return res
}

// 添加留言
export const addComment = async (data) => {
  const res = await request.post('/comments/addComment', data)
  return res
}
